package cn.wolfcode.service;

import cn.wolfcode.domain.Role;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRoleService {
    public PageInfo query(QueryObject qo);

    public List selectList(QueryObject qo);

    Role selectById(Long id);

    void save(Role role,Long[] ids);

    void delete(Long id);

    void update(Role role, Long[] ids);


    List selectByRoleId(Long id);


    List selectAll();
}
